package com.shtel.bss.saas.tenant.entity.repository;


import com.github.pagehelper.PageInfo;
import com.shtel.bss.saas.core.data.common.entiry.repository.IBaseRepository;
import com.shtel.bss.saas.tenant.entity.SysUser;

/**
 * sys_user仓库接口
 *
 * @author xiezhiwei 2020-02-05 21:21
 */
public interface ISysUserRepository extends IBaseRepository<SysUser> {
    /**
     * 查询用户列表
     */
    PageInfo<SysUser> selectEntity(SysUser sysUser, int pageNum, int pageSize);

    /**
     * 查询用户
     */
    SysUser selectOne(SysUser sysUser);

    SysUser selectByAccount(String account);
}